ttt - A simple Tic Tac Toe game written in SDL

Tic Tac Toe ported to Dingux

by z_man3007 (Ziaul Sarker)
z_man3007@yahoo.com

June 20th, 2010


About
-----
  ttt is a very simple one- or two-player Tic Tac Toe game played using a mouse.
  It was developed in response to a request by Barbara Schaffer of the
  American Red Cross.  It is released as Free Software under the
  GNU General Public License.  (That is, it's Open Source.)  See COPYING.txt.

Requirements for Dingux
-----------------------

  You have to  have mouse support on dingux in order to play this game.
  You can use SiENcE's virtual mouse and you will also need SiENcE's
  Kernal to run games that needs mouse support. 
  

Playing
-------
  When you run the game, you'll see the "#"-shaped tic-tac-toe board
  and a pair of buttons on the right, labelled:
  
    'Human vs. Computer'

  and

    'Human vs. Human'



  Press and Hold R Shoulder button while using dpad to move the mouse cursor
  and click on either 'Human vs. Computer' or 'Human vs. Human' by pressing 
  Y, B, or A button.

  At the bottom right, you'll notice it now says "X's Turn".


  Use the mouse pointer to choose a position on the game board, and press
  (R + A) buttons to place a piece.  The "turn" display at the bottom right
  will now read "O's Turn."

  In two-player mode ("Human vs. Human"), the other player must also use
  the mouse to place their piece.

  In one-player mode ("Human vs. Computer"), the computer will think for
  a moment, and then place its piece.

  The game cycles like this until it is over.  (See below)

Game Over
---------
  The game ends either when someone wins (by getting three of their pieces
  in a row, either horizontally, vertically, or diagonally), or when the
  board is full.

  If someone wins, a message will appear at the bottom right stating either
  "X WINS" or "O WINS!"

  If the game is a draw, it will say "A draw!"

  At this point, you can click one of the game-starting buttons at the right
  ("Human vs. Computer" or "Human vs. Human") to start a new game.

Quitting
--------
  To quit 'ttt', either press the [SELECT] button on your Dingoo.




